home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 April
/
Macworld (1996-04).dmg
/
Educational Demos
/
Goldilocks Gamebook
/
Goldilocks.DIR
/
00018_Script_18
< prev
next >
Wrap
Text File
|
1995-11-20
|
533b
|
26 lines
-- tree
on mouseDown
global currentColor,p3
puppetSound "Click.AIF"
puppetSprite 4, true
if currentColor = "red" then
set the castNum of sprite 4 to 213
put 0 into p3
end if
if currentColor = "blu" then
set the castNum of sprite 4 to 214
put 0 into p3
end if
if currentColor = "bro" then
set the castNum of sprite 4 to 215
put 0 into p3
end if
if currentColor = "gre" then
set the castNum of sprite 4 to 216
put 1 into p3
end if
updateStage
end